package chapter09;

/**
 * Created by V5470-I5 on 2016/4/1.
 */
import java.util.*;
public class Sort4 {
    public static void main(String[] args){
        List words=Arrays.asList("B","X","A","M","F","W","O");
        Collections.sort(words);
        System.out.println(words);
    }
}

